import React from 'react'

function Index() {
  const arr=[
    {id:1,name:'张三'},
    {id:2,name:'李四'},
    {id:3,name:'王五'}
  ]
  return (
    <div>
      {
        arr.map((item)=>{
          return <div key={item.id}>{item.name}</div>
        })
      }
      首页
    </div>
  )
}

export default Index
